// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, postBodyRequest, getNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getXldmzdList = params => {
    return postRequest('/xldmzd/getByPage', params);
};
// 添加
export const addXldmzd = params => {
    return postRequest('/xldmzd/insertOrUpdate', params);
};
// 编辑
export const editXldmzd = params => {
    return postRequest('/xldmzd/insertOrUpdate', params);
};
// 删除
export const deleteXldmzd = params => {
    return postRequest('/xldmzd/delByIds', params);
};

export const getAllXldmzdList = params => {
    return postRequest('/xldmzd/getAll', params);
};
// xboot/dictData/getByType/jtlxrgx
export const getJtlxrgx = params => {
    return getRequest('/dictData/getByType/jtlxrgx', params);
};
export const getQzkzksbzList = params => {
    return getRequest('/dictData/getByType/higher-voc-ex-exam', params);
};
